<template>
    <PageLayout title="我的信息" >
        <view class="contanier">
            <view class="message-info-box">
                <view class="title">嘿嘿</view>
                <view>发送人: ***** </view>
                <view>时间：2024-07-23 14:15:00</view>
            </view>
            <scroll-view class="content">
                阿斯蒂芬咖啡离开家阿斯达
            </scroll-view>
        </view>
    </PageLayout>
</template>

<script lang="ts" setup>
    import {ref} from "vue"
    import PageLayout from '../../components/myLayout/PageLayout.vue';

    const messageList=ref([{},{}])

    const handlerToMessage=(item)=>{
        let page="/pages/message/detail"
        if(item.toPage){
            page=item.toPage
        }
        uni.navigateTo({
			url:page
        })
    }

</script>

<style lang="scss" scoped>
    
    .contanier{
        font-size: 28upx;
        .title{
            font-weight: bold;
            font-size: 32upx;
        }
        .message-info-box{
            border-bottom: 1px solid $uni-text-color-grey;
            padding: 20upx;
            line-height: 40upx;
        }
        .content{
            padding: 10px;
            background-color: #fff;
        }
    }

</style>